package com.whmskj.xjlhbc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.whmskj.xjlhbc.domain.Yg01employeefiles;
import com.whmskj.xjlhbc.service.dto.EmpDto;

import java.util.List;
/**
 * @author lk
 * @since 2025-07-16 11:35:41
 */
public interface Yg01employeefilesService extends IService<Yg01employeefiles> {

    Page<Yg01employeefiles> findPage(Yg01employeefiles params);

    EmpDto findList(Yg01employeefiles params);

    Yg01employeefiles findById(Long id);

    boolean insert(Yg01employeefiles yg01employeefiles);

    boolean update(Yg01employeefiles yg01employeefiles);

    int delete(Long id);

    /**
     * 获取可以奖惩的员工列表
     * @return
     */
    List<Yg01employeefiles> getEmpList(String name);

    /**
     * 查询员工是否是产量员工
     * @param userId
     * @return
     */
    List<String> selectProductionOfStaff(String userId);

    /**
     * 调整员工工种
     * @param yg01employeefiles
     */
    void yg01employeefilesService(Yg01employeefiles yg01employeefiles);
}